package com.enjoyor.soa.traffic.frame.support.redis;

import java.util.List;

public abstract interface IRedisTool {

	public abstract String get(String paramString);

	public abstract Boolean set(String paramString1, String paramString2);

	public abstract boolean expire(String paramString, long paramLong);

	public abstract Object getObject(String paramString, Class<?> paramClass);

	public abstract boolean setObject(String paramString, Object paramObject);

	public abstract <T> boolean setList(String paramString, List<T> paramList);

	public abstract <T> List<T> getList(String paramString, Class<T> paramClass);

	public abstract String lpop(final String key);

	public abstract Boolean del(final String key);
}
